package EnumerationPackage;

public enum ActionCode {
	SECURITY_ARMED("S1"),
	SECURITY_DISARMED("S0"),
	
	//Security Events
	WINDOW_BROKEN ("WB"),
	DOOR_BROKEN ("DB"),
	MOTION_DETECTED ("MD"),
	
	//Fire Events
	FIRE_DETECTED ("F1"),
	FIRE_DOUSED ("F0"),
	
	//Sprinkler Control Events
	SPRINKLER_ON ("W1"),
	SPRINKLER_OFF ("W0");
	
	private String code;
	
	//for generic action codes 
	ActionCode(String code){
		this.code = code;
	}
	public String getCode(){
		return code;
	}
}
